<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>习题 1</title>
</head>
<body>
<script>
    //    Equation is °C = 9/5 * °C + 32.
    var degreesCentigrade = prompt('Enter the degrees in centigrade', '50');
    var degreesFahrenheit = 9 / 5 * degreesCentigrade + 32;
    alert(degreesCentigrade + ' degrees centigrade is ' + degreesFahrenheit + ' degrees Fahrenheit');
</script>
</body>
</html>